package org.dromara.system.domain.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.WbItemVisitLogs;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.Date;

/**
 * 项目浏览记录业务对象 wb_item_visit_logs
 *
 * @author Lion Li
 * @date 2024-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = WbItemVisitLogs.class, reverseConvertGenerate = false)
public class WbItemVisitLogsBo extends BaseEntity {

    /**
     * 项目ID
     */
    private Long id;

    /**
     * 项目ID
     */
    private Long itemId;

    /**
     * 登录人
     */
    private Long loginUser;

    /**
     *最后登录时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lastBrowseTime;


}
